<table id="myDetailThue" class = "listing" style="width: 100%; margin: 0 auto">
    <thead>
    <tr height = "40" class="myheaderrowthue">

        <th name="loaihinh" id = "input"  style="width: 3%">Loại hình DVKD</th>
        <th name="kihieumd" id = "input"  style="width: 7%">Kí hiệu mẫu h.đơn</th>
        <th name="sohd" id = "input" style="width: 5%" >Số hóa đơn</th>
        <th name="soseri" id = "input" style="width: 5%">Số seri</th>
        <th name="ngayhd" id = "input" style="width: 5%">Ngày hóa đơn</th>
        <th name="makh" id = "input" style="width: 5%" >Mã khách hàng</th>
        <th name="tenkh" id = "input" style="width: 18%" >Tên khách p.hành h.đơn</th>
        <th name="masot" id = "input" style="width: 5%" >Mã số thuế khách p.hành</th>
        <th name="tenhh" id = "input" style="width: 7%" >Tên hàng hóa/Vật tư/Dịch vụ chính</th>
        <th name="mathue" id = "input" style="width: 3%" >Mã thuế</th>
        <th name="thuesuat" id = "input" style="width: 3%"  >Thuế suất</th>
	<!-- NewV ------------->
        <th name="tkthue" id = "select" style="width: 7%" >TK thuế</th>
	<!--------end-------------->
        <th name="sotien_doanhso" id = "input" style="width: 7%" >Doanh số/Tiền hàng</th>
        <th name="thue" id = "input" style="width: 5%" >Thuế</th>
        <th name="tongtien" id = "input" style="width: 7%">Tổng hóa đơn</th>
        <th name="mavuviec" id = "input" style="width: 3%">Mã vụ việc</th>
        
        <th name="BBB" align="right" style="width: 5%">{translate key="common.action"}</th>

    </tr>
    <tr >
    </tr>
    </thead>

    <tr class="mydatarowthue" rowspan = "2">
        <td valign="top" class="value" ><input type="text" name="loaihinh" value="{$ctkt.loaihinh}" id="loaihinh"  style="width:100%;" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="kihieumd" value="{$ctkt.kihieumd}" id="kihieumd"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="sohd" value="{$ctkt.sohd}" id="sohd"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="soseri" value="{$ctkt.soseri}" id="soseri"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="ngayhd" value="{$ctkt.ngayhd}" id="ngayhd"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="makh" value="{$ctkt.makhthue}" id="makh"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="tenkh" value="{$ctkt.tenkh}" id="tenkh"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="masot" value="{$ctkt.masot}" id="masot"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="tenhh" value="{$ctkt.tenhh}" id="tenhh"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="mathue" value="{$ctkt.mathue}" id="mathue"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>
        <td valign="top" class="value" ><input type="text" name="thuesuat" value="{$ctkt.thuesuat}" id="thuesuat"  style="width:100%" onclick="SetCur(this.id)"  class="textField" /></td>

        <td class="value" style= "vertical-align: top;">
            <select name="tkthue" id="tkthue" onclick="SetCur(this.id)"  onChange="changeMa(this.id, '{$urlS_getTenDMTK}');" class="selectMenu" style="width:100%; padding-bottom: 2px">
                {html_options options=$matka selected=$tkdu0}
            </select>
            <div   class="selectMenu" style="font-size:11px" ></div>
        </td>

        <td valign="top" class="value"><input type="text" name="sotien_doanhso" size="10" value="{$ctkt.sotien_doanhso}" id="sotien_doanhso" style="text-align:right;width:100%"   onclick="SetCur(this.id)" onkeypress="return isNumberKey(event)" class="textField" /></td>

        <td valign="top" class="value"><input size = "10" type="text" name="thue" value="{$ctkt.thue}" id="thue" style="text-align:right; width:100%"   onclick="SetCur(this.id)" onkeypress="return isNumberKey(event)" class="textField" /></td>

        <td valign="top" class="value"><input size = "10" type="text" name="tongtien" value="{$ctkt.tongtien}" id="tongtien" style="text-align:right;width:100%"  onclick="SetCur(this.id)" onkeypress="return isNumberKey(event)" class="textField" /></td>

        <td valign="top" class="value" ><input type="text" name="mavuviec" value="{$ctkt.mavuviec}" id="mavuviec"  style="width:97%" onclick="SetCur(this.id)"  class="textField" /></td>

        <td valign="top" id = 'mytd'>
            <a class="actiondelrow" style="color: black;width:100%; padding-left: 5px"  id = "rowdel-1" href="javascript:void(0);" onclick="delerow(this.id,'myDetailThue',2,0,1);">-Xóa dòng</a>
        </td>
    </tr>
</table>


